#include <stdio.h>
#include <stdlib.h>

#ifndef IO_H
    #define IO_H

    struct extendedMatrix{
        unsigned long J_ORDER;
        unsigned long J_ROW_TEST;
        double J_ERROR;
        unsigned long J_ITE_MAX;
        double **matrix;
        double *vector;
    };

    struct extendedMatrix *readMatrix(char *file);
    int freeMatrix(struct extendedMatrix *M);
    int printMatrix(struct extendedMatrix *M);

#endif
